翻訳と辞書
Words near each other
・ NTT Medical Center Tokyo
・ NTT Plala
・ NTT Publishing
・ NTT Resonant Inc.
・ NTT Shining Arcs
・ NTT West Kyoto SC
・ NTTR
・ NTTV
・ NTU
・ Ntu
・ Nth Degree (song)
・ Nth Man
・ Nth metal
・ NTH Ring
・ Nth root
Nth root algorithm
・ Nthabiseng Mokoena
・ Nthato Motlana
・ Nthellworld
・ NTHL1
・ NTHS
・ NTHU College of Electrical Engineering and Computer Science
・ NthWORD
・ Nti
・ NTI (disambiguation)
・ NTi Audio
・ NTIA Manual of Regulations and Procedures for Federal Radio Frequency Management
・ Ntiero Effiom
・ Ntim Gyakari
・ Ntimbale Dam


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Nth root algorithm : ウィキペディア英語版
Nth root algorithm

The principal ''n''th root \sqrt() of a positive real number ''A'', is the positive real solution of the equation
:x^n = A
(for integer ''n'' there are ''n'' distinct complex solutions to this equation if A > 0, but only one is positive and real).
There is a very fast-converging ''n''th root algorithm for finding \sqrt():
#Make an initial guess x_0
#Set x_ = \frac \left(- x_k\right ); x_ = x_ + \Delta x_k .
#Repeat step 2 until the desired precision is reached, i.e. | \Delta x_k | < \epsilon .
A special case is the familiar square-root algorithm. By setting ''n'' = 2, the ''iteration rule'' in step 2 becomes the square root iteration rule:
:x_ = \frac\left(x_k + \frac\right)
Several different derivations of this algorithm are possible. One derivation shows it is a special case of Newton's method (also called the Newton-Raphson method) for finding zeros of a function f(x) beginning with an initial guess. Although Newton's method is iterative, meaning it approaches the solution through a series of increasingly accurate guesses, it converges very quickly. The rate of convergence is quadratic, meaning roughly that the number of bits of accuracy doubles on each iteration (so improving a guess from 1 bit to 64 bits of precision requires only 6 iterations). For this reason, this algorithm is often used in computers as a very fast method to calculate square roots.
For large ''n'', the ''n''th root algorithm is somewhat less efficient since it requires the computation of x_k^ at each step, but can be efficiently implemented with a good exponentiation algorithm.
== Derivation from Newton's method ==

Newton's method is a method for finding a zero of a function ''f(x)''. The general iteration scheme is:
#Make an initial guess x_0
#Set x_ = x_k - \frac
#Repeat step 2 until the desired precision is reached.
The ''n''th root problem can be viewed as searching for a zero of the function
:f(x) = x^n - A
So the derivative is
:f^\prime(x) = n x^
and the iteration rule is
:x_ = x_k - \frac
: = x_k - \frac+\frac \left(ウィキペディア(Wikipedia)

ウィキペディアで「Nth root algorithm」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.